package cn.jizi.bshisy.mapper;

import cn.jizi.bshisy.entity.InDoctor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 住院医接口
 */
public interface InDoctorMapper {
    //添加住院医信息
    int getAddInDoctor(InDoctor inDoctor);

    //根据姓名查询住院医信息
    List<InDoctor> getInNameInDoctorListPage(@Param("inname") String inname,
                                             @Param("from") Integer currentPageNo,
                                             @Param("pageSize") Integer pageSize);
    //查数量
    int getInNameInDoctorListCount(@Param("inname") String inname);
}
